<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jquery-3.7.1.min.js"></script>
    <!-- <script src="demo1.js"></script> -->
</head>
<body>
    <script>
        // let aa=10;
        // aa="sdf";
        // console.log(aa);

        // let array=[34,"a",true];
        // array[3]=100;
        // // 从下标为一开始删除二个
        // array.splice(1,2);

        // array["中文"]="dddd";
        // console.log(array);

        // 函数
        // function sum(x,y){
        //     console.log(x+y);
        // }
        // sum(10,20);

        // let sum=function(x,y){
        //     console.log(x+y);
        // }
        // sum(10,10);

        let student={
            "name":"张三",
            age:15
        };
        console.log(student.name);

        console.log(student["age"]);
  

    </script>
</body>
</html>